package com.zelma.mywebsocket.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.StringRedisTemplate;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
//页面跳转
public class PageController {
    @Autowired
    StringRedisTemplate stringReidTemplate;

    @RequestMapping("/main")
    public String main(){
        return "main";
    }

}
